package org.grow.basic.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.grow.basic.entity.Material;
import org.grow.basic.entity.MaterialQueryCondition;

import java.util.List;

@Mapper
public interface MaterialMapper extends BaseMapper<Material> {
    List<Material> dynamicQuery(@Param("qc") MaterialQueryCondition materialQueryCondition);
    IPage<Material> dynamicQuery(IPage<Material> iPage,@Param("qc") MaterialQueryCondition materialQueryCondition);

}